<!-- eslint-disable vue/multi-word-component-names -->
<template>
    <div>
        <el-button type="primary" size="large" style="width: 200px;height: 50px;" v-throttle="handleClick">节流指令</el-button>
    </div>
</template>

<script setup lang="ts">
import { ElMessage } from 'element-plus'
    const handleClick = ()=>{
         ElMessage({
        message: '触发了节流',
        type: 'success',
    })
    }



</script>

<style lang="scss" scoped></style>